-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
boards/esp32s3: move QEMU toywasm to different defconfig #15874
base: master
Are you sure you want to change the base?
boards/esp32s3: move QEMU toywasm to different defconfig #15874
Conversation
[Experimental Bot, please feedback here] Fill In The Commit Message: This PR contains a Commit with an Empty Commit Message. Please fill in the Commit Message with the PR Summary. This PR appears to meet the NuttX requirements. The summary is clear, concise, and explains the motivation and technical details of the change. The impact section is thorough, addressing all the required points. The testing section provides sufficient detail to reproduce the tests and demonstrates that the changes function as intended. The provided logs show the successful boot of both configurations and the availability of the |
Can you please update the associated entries in |
44aa3e7
to
ebc490e
Compare
Thanks for reminding. Documentation updated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please add a commit message
94b3cb2
to
aaa8b3a
Compare
Done. |
Remove WebAssembly from qemu_debug defconfig and create a new one for this purpose: qemu_toywasm. Signed-off-by: Filipe Cavalcanti <[email protected]>
aaa8b3a
to
ec0f5d4
Compare
Note: Please adhere to Contributing Guidelines.
Summary
This PR creates a separate defconfig for running WebAssembly in QEMU for the ESP32S3.
The extra granularity speeds up the build for most use cases where WebAssembly is not needed.
Also adds
CONFIG_ESP32S3_QEMU_IMAGE=y
to qemu_debug, otherwise QEMU will not be able to run.Impact
Impact on user: New defconfig for using WebAssembly with QEMU.
Impact on build: Speeds up
esp32s3:qemu_debug
. If user requires QEMU with WebAssembly out-of-the-box should now useesp32s3:qemu_toywasm
.Impact on hardware: No.
Impact on documentation: No.
Impact on security: No.
Impact on compatibility: No.
Testing
Building
Build each of the defconfigs normally.
./tools/configure.sh esp32s3-devkit:qemu_debug
or./tools/configure.sh esp32s3-devkit:qemu_toywasm
Running
Test each with QEMU using the following command:
qemu-system-xtensa -nographic -machine esp32s3 -drive file=nuttx.merged.bin,if=mtd,format=raw
Results